
function xOut=cosh(xIn)
  x = xIn.v;
  xOut.v=cosh(x);
  d = sinh(x);
  xOut.d = elelmult_lastindx(d,xIn.d);

  xOut=class(xOut,'deriv1f');
